<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@include file="../../commons/taglib.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>添加分院管理员</title>
<link rel="stylesheet" href="<%=request.getContextPath() %>/static/css/pintuer.css">
    <link rel="stylesheet" href="<%=request.getContextPath() %>/static/css/admin.css">
    <script src="<%=request.getContextPath() %>/static/js/jquery.js"></script>
    <script src="<%=request.getContextPath() %>/static/js/pintuer.js"></script>  
    <%-- <script type="text/javascript">
	<%if (session.getAttribute("access")==null){%>
		alert("请登录后访问！");
		parent.location.href='${pageContext.request.contextPath}/login';
	<% }%>
	</script> --%>
</head>
<body>
<div class="panel admin-panel margin-top">
  <div class="panel-head" id="add"><strong><span class="icon-pencil-square-o"></span>添加分院管理员</strong></div>
  <div class="body-content">
    <form method="post" class="form-x" action="doadd">   
      <input type="hidden" name="role_id"  value="2" />
      <%-- <input type="hidden" value="${data}" id="mes" name="mes"/> --%>
      <div class="form-group">
        <div class="label">
          <label>登录账号：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" name="login" value="" data-validate="required:请输入登录账号" />
          <div class="tips"></div>
        </div>
      </div> 
      <div class="form-group">
        <div class="label">
          <label>登录密码：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" name="password" value="" data-validate="required:请输入登录密码" />
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label>姓名：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" name="userName" value="" data-validate="required:请输入姓名" />
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label>性别：</label>
        </div>
          <div class="field">
              <select name="sex" class="input w50">
                  <option value="男">男</option>
                  <option value="女">女</option>
              </select>
          </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label>身份证：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" name="iDCard" value="" data-validate="required:请输入身份证号" />
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label>联系电话：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" name="tele" value="" data-validate="required:请输入联系电话" />
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
            <div class="label">
                <label>地址：</label>
            </div>
            <div class="field">
                <input type="text" class="input w50" name="address" value="" />
            </div>
      </div>
      <div class="form-group">
            <div class="label">
                <label>邮编：</label>
            </div>
            <div class="field">
                <input type="text" class="input w50" name="postCode" value="" />
            </div>
      </div>
      <div class="form-group">
            <div class="label">
                <label>电子邮箱：</label>
            </div>
            <div class="field">
                <input type="text" class="input w50" name="email" value="" />
            </div>
      </div>
     <div class="form-group">
        <div class="label">
          <label></label>
        </div>
        <div class="field">
          <button class="button bg-main icon-check-square-o" type="submit"> 提交</button>
          <a class="button bg-red" href="outlogin" style="margin-left: 10px;"> 取消</a>
        </div>
      </div>
    </form>
  </div>
</div>
</body>
<!-- <script>
$(function(){
	var m = document.getElementById("mes");
	console.log(m.value);
	if( m.value!="" ){
		alert(m.value);
	}
	m.value ="";
	console.log(m.value);
});
</script> -->
</html>